<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>class的静态成员</title>
	</head>
	<body>
		<script>
			class Point {
				constructor() { }
			}
			Point.username = '牛哄哄的柯南';
			
			let p = new Point();
			console.log(p.username);        //undefined
			console.log(Point.username);   //牛哄哄的柯南
		</script>
	</body>
</html>
